import {
  axios
} from '@/utils/request'

// 查询表格数据
export function jbdFinaceList(parameter) {
  return axios({
    url: 'jbd/jbdWithdrawal/list',
    method: 'GET',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}

// 编辑
export function jbdFinaceListStatus(parameter) {
  return axios({
    url: 'jbd/jbdWithdrawal/edit',
    method: 'PUT',
    data: parameter,
    headers: {
      'Content-Type': 'application/json',
    }
  })
}

// 财务导出
export function JbdWithdrawalXls(parameter) {
  return axios({
    url: 'jbd/jbdWithdrawal/exportXls',
    method: 'get',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}